package main;

import java.awt.Dimension;

import core.Game;


import graphics.AnimationClock;
import graphics.view.Framed;
import graphics.view.KeyboardInput;

public class Main {
	
	public static void main(String[] args)
	{
		Game g = new Game();
		g.set("games/breakout/resources/Levels.schema");
		AnimationClock c = new AnimationClock(g);
		Framed f = new Framed(new Dimension(700, 700), "Arcade");
		f.addKeyListener(new KeyboardInput());
		c.addObserver(f);
		c.start();
	}

}
